﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 单元测试_使用NunitMocks
{
    internal class PersonAction
    {
        private IPerson _person;

        public PersonAction(IPerson person)
        {
            _person = person;
        }

        public string Greet()
        {
            string s;

            s = "Hello, I am " + _person.Name;

            return s;
        }
    }
}